package cn.wolfcode.service;

import cn.wolfcode.domain.Appointment;
import cn.wolfcode.qo.AppointmentQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IAppointmentService {
    void delete(Long id);
    void insert(Appointment appointment);
    Appointment get(Long id);
    List<Appointment> listAll();
    void update(Appointment appointment);
    // 添加分页功能
    PageInfo<Appointment> query(AppointmentQueryObject qo);

    // 改变订单装态
    void updateStatus(Long id, int status);

}
